<{include file="Public/top.html" }>
</head>
<body>
<div id="warpper">
    <div class="content">
        <div class="location">商户管理</div>
        <{include file="Business/nav.html"}>

        <div class="filedSet" style="padding-bottom: 0;">
            <div class="search">
                <form action="" method="get" class="ui-form reportForm" id="searchForm">
                    <input name="m" type="hidden" value="<{$module}>">
                    <input name="c" type="hidden" value="<{$controller}>">
                    <input name="a" type="hidden" value="<{$action}>">

                    <input name="p" id="page" type="hidden" value="<{$page|default:1}>">
                    <input name="ofield" id="ofield" type="hidden" value="<{$ofield}>">
                    <input name="otype"  id="otype"  type="hidden" value="<{$otype}>">

                    <div class="ui-form-item inline-block">
                        <label class="ui-label">关键字</label>
                        <input type="text" class="ui-text bg-text keyword" placeholder="卡券名／卡券号" />
                    </div>
                    <div class="ui-form-item inline-block">
                        <label class="ui-label">时间段</label>
                        <input type="text" name="startDate" id="startDate" class="ui-text startDate" readonly/>
                    </div>
                    <div class="ui-form-item inline-block">
                        <label class="ui-label">—&nbsp;&nbsp;&nbsp;</label>商户管理
                        <input type="text" name="endDate" id="endDate" class="ui-text endDate" readonly/>
                    </div>
                    <div class="ui-form-item inline-block">
                        <button type="button" class="ui-button">查询</button>
                    </div>
                </form>
            </div>
        </div>

        <!--表格内容-->
        <div class="mainGrid">
            <table class="ui-table ui-body">
                <thead>
                    <tr>
                        <th class="pct10">核销日期</th>
                        <th class="pct10">核销员</th>
                        <th class="pct10">所属商家</th>
                        <th class="pct10">所属门店</th>
                        <th class="pct10">卡券名</th>
                        <th class="pct10 last-col">卡券号</th>
                    </tr>
                </thead>
                <tbody>
                <{foreach from = $list item=item}>
                <tr>
                    <td><{'Y-m-d H:i'|date:$item.consumeTime}></td>
                    <td><{$name}></td>
                    <td><{$item.restaurantName}></td>
                    <td><{$item.storeName}></td>
                    <td><{$item.cardTitle}></td>
                    <td><{$item.code}></td>
                </tr>
                <{/foreach}>
                </tbody>
            </table>
        </div>
        <!--描述：分页-->
        <div class="pagination">
            <{include file="Public/page.html"}>
        </div>
    </div>
</div>
</body>
<{include file="Public/foot.html" }>